package com.msteam.extra.generator;

import java.io.File;
import java.nio.file.Files;

import com.jfinal.kit.PathKit;
import com.jfinal.template.source.FileSource;

import lombok.jfinal.kit.generator.EntityObject;
import lombok.jfinal.kit.generator.IParser;

public class TestParser implements IParser{

	@Override
	public String getContent() {
		return FileSource.loadFile(new File(PathKit.getWebRootPath()+"\\generator\\test.tpl"), "UTF8").toString();
	}

	@Override
	public void output(EntityObject entityObject, String outputString) {
		System.out.println(outputString);
	}

}
